package com.yylending.las;

public class Constants {
	/**
	 * 手势密码key
	 */
	public static final String GESTURE_PASSWORD = "GesturePassword";
	/**
	 * 选项卡-工作类型
	 */
	public static final String OPTION_WORKTYPE = "workType";
	/**
	 * 选项卡-是否有本地房产
	 */
	public static final String OPTION_HASHOUSE = "hasHouse";
	/**
	 * 选项卡-教育程度
	 */
	public static final String OPTION_EDUCATIONS = "educations";
	/**
	 * 选项卡-婚姻状况
	 */
	public static final String OPTION_MARRIAGE = "marriage";
	/**
	 * 选项卡-居住状态
	 */
	public static final String OPTION_LIVING = "living";
	/**
	 * 选项卡-亲属关系
	 */
	public static final String OPTION_RELATIONSHIP = "relationship";

	/**
	 * 额度申请状态
	 * "10": 有在途借款申请（非云贷）; "20": 已有在途借款; "100": 未获取额的; "110": 额度获取中; "120": 不符合要求; "130": 低额度; "140": 高额度
	 */
	public final static String QUOTA_STATUS_HAVE_LOAN_OTHER = "10";
	public final static String QUOTA_STATUS_HAVE_LOAN = "20";
	public final static String QUOTA_STATUS_NOTYET = "100";
	public final static String QUOTA_STATUS_ING = "110";
	public final static String QUOTA_STATUS_REFUSED = "120";
	public final static String QUOTA_STATUS_LOW = "130";
	public final static String QUOTA_STATUS_HIGH = "140";

	/**~~~~~~~~~~~~~~~~~~~~提额状态promoteAmount---start~~~~~~~~~~~~~~~~~~~~*/
	/**
	 * 提额状态promoteAmount=300: 可提额
	 */
	public final static String PROMOTE_STATUS_HAVE = "300";
	/**
	 * 提额状态promoteAmount=310: 无提额
	 */
	public final static String PROMOTE_STATUS_WITHOUT = "310";
	/**
	 * 提额状态promoteAmount=320: 提额申请中
	 */
	public final static String PROMOTE_STATUS_ING = "320";
	/**~~~~~~~~~~~~~~~~~~~~提额状态promoteAmount---end~~~~~~~~~~~~~~~~~~~~*/

	/**~~~~~~~~~~~~~~~~~~~~借款状态loanState---start~~~~~~~~~~~~~~~~~~~~*/
	/**
	 * 借款状态loanState=210: 非直批流程
	 */
	public final static String LOAN_STATUS_NOT_DIRECT = "210";

	/**
	 * 借款状态loanState=220: 不需要现调、借款申请中、等待来电
	 */
	public final static String LOAN_STATUS_ING = "220";
	/**
	 * 借款状态loanState=200: 不需要现调、借款申请中、远程面签
	 */
	public final static String LOAN_STATUS_VIDEO_AUTH = "200";
	/**
	 * 借款状态loanState=230: 不需要现调、借款申请中、审核中
	 */
	public final static String LOAN_STATUS_REVIEW = "230";

	/**
	 * 借款状态loanState=240: 借款否决
	 */
	public final static String LOAN_STATUS_REFUSED = "240";
	/**
	 * 借款状态loanState=250: 放款中
	 */
	public final static String LOAN_WAIT_FOR_LOANING = "250";
	/**~~~~~~~~~~~~~~~~~~~~借款状态loanState---start~~~~~~~~~~~~~~~~~~~~*/

	/**
	 * 客户信息
	 * baseInfo: 基本信息; identity: 身份证; sface: 刷新信息; addInfo: 附加信息
	 */
	public final static String CUSTOMER_TYPE_BASEINFO = "baseInfo";
	public final static String CUSTOMER_TYPE_IDENTITY = "identity";
	public final static String CUSTOMER_TYPE_SFACE = "sface";
	public final static String CUSTOMER_TYPE_ADDINFO = "addInfo";

	/**
	 * 人脸比对状态 valid：有效 expired：过期
	 */
	public final static String FACE_VALID = "valid";
	public final static String FACE_EXPIRED = "expired";

	/**
	 * 请求征信授权报文-类型
	 */
	public final static String AUTH_SOURCE_TYPE_PC = "0";
	public final static String AUTH_SOURCE_TYPE_APP = "1";
	/**
	 * 请求征信授权报文-银联授权商户返回地址
	 */
	public final static String AUTH_MERCHANT_ADDRESS = "http://las_auth.html";

	/**
	 * 首页显示页面编号
	 */
	public final static int PAGE_LOADING = 0;
	public final static int PAGE_NOT_APPLY = PAGE_LOADING + 1;
	public final static int PAGE_CALCULATING = PAGE_LOADING + 2;
	public final static int PAGE_INCREASE = PAGE_LOADING + 3;
	public final static int PAGE_INCREASE_SUCCESS = PAGE_LOADING + 4;
	public final static int PAGE_ZERO_QUOTA = PAGE_LOADING + 5;
	public final static int PAGE_NO_LOAN_STATUS_RESEARCH = PAGE_LOADING + 6;
	public final static int PAGE_HAVE_LOAN = PAGE_LOADING + 7;
	public final static int PAGE_COMPLEX_STATUS = PAGE_LOADING + 8;
	public final static int PAGE_REPAYMENT = PAGE_LOADING + 9;
	public final static int PAGE_PERSONAL_CENTER = PAGE_LOADING + 10;
	public final static int PAGE_LOAN_STATUS_RESEARCH = PAGE_LOADING + 11;
	public final static int PAGE_LOW_QUOTA_OUTLET_APPOINTED = PAGE_LOADING + 12;

	/**
	 * 页面编号--主页
	 */
	public final static int PAGE_NO_MAIN_ACTIVITY = 1;
	/**
	 * 页面编号--提额成功页Activity
	 */
	public final static int PAGE_NO_INCREASE_SUCCESS = 2;

	public static final String BANK_CODE_ICBC = "000001"; // 中国工商银行
	public static final String BANK_CODE_ABC = "000002"; // 中国农业银行
	public static final String BANK_CODE_BOC = "000003"; // 中国银行
	public static final String BANK_CODE_CCB = "000004"; // 中国建设银行
	public static final String BANK_CODE_CITIC = "000005"; // 中信银行
	public static final String BANK_CODE_CEB = "000006"; // 中国光大银行
	public static final String BANK_CODE_HXB = "000007"; // 华夏银行
	public static final String BANK_CODE_GDB = "000008"; // 广发银行
	public static final String BANK_CODE_PINGAN = "000009"; // 平安银行
	public static final String BANK_CODE_CMB = "000010"; // 招商银行
	public static final String BANK_CODE_CIB = "000011"; // 兴业银行
	public static final String BANK_CODE_SPDB = "000012"; // 中国浦东发展银行
	public static final String BANK_CODE_PSBC = "000013"; // 中国邮政储蓄银行
	public static final String BANK_CODE_CMBC = "000014"; // 中国民生银行
	public static final String BANK_CODE_BEIJING = "000015"; // 中国北京银行


	/**
	 * 与平台已认证信息不一致
	 */
	public static String CODE_700000 = "700000";
	/**
	 * "700050":"身份证已过期"
	 */
	public static String CODE_700050 = "700050";
	/**
	 * "700051":"不符合贷款年龄"
	 */
	public static String CODE_700051 = "700051";
	/**
	 * "711111": "该身份证已绑定"
	 */
	public static String CODE_711111 = "711111";
	/**
	 * 超过当天次数上限
	 */
	public static String CODE_700025 = "700025";

	public static final String NO_REAL_VERIFY = "未实名认证";
	/**
	 * 验证码不正确
	 */
	public static String CODE_100007 = "100007";
	/**
	 * 您不符合友金云贷借款要求
	 */
	public static String CODE_700030 = "700030";
	/**
	 * 网络请求结果提示语
	 */
	public static final String MSG_FACE_FAILED = "人脸识别失败";

	public static final String MSG_SAVE_ID_CARD_FAILED = "绑定身份证失败，请重试";
	public static final String MSG_700000 = "身份证信息与您在官网的认证信息不一致，请使用已认证的身份证进行扫描。";
	public static final String MSG_700025 = "当日人脸识别次数达上限";
	public static final String MSG_700050 = "无效的身份证";
	public static final String MSG_700051 = "年龄不符合借款要求";
	public static final String MSG_711111 = "该身份证已经被绑定，无法再次认证。如需替换手机号请联系客服处理。";
	public static final String MSG_LOGIN_FAIL = "登录失败，请重试";
	public static final String MSG_700030 = "您暂不符合友金云贷借款要求";

	public static final String KEY_INTENT_FINISH_ALL_APP = "intent_finish_all_app";

	public static final String KEY_GOTO_BIND_CARD_FROM_HAVE_QUOTA_FRAGMENT = "goto_bind_card_from_have_quota_fragment";
	public static final String KEY_GOTO_BIND_CARD_FROM_PERSONAL_CENTER_FRAGMENT = "goto_bind_card_from_personal_center_fragment";

	/**
	 * 内评规则数据 contact: 联系人信息； sms: 短信信息； call: 通话记录信息； software: 软件安装信息
	 */
	public static final String EVALPATH = "evalPath";
	public static final String LONGITUDE = "longitude";
	public static final String LATITUDE = "latitude";
	public static final String EVALPATH_CONTACT = "contact";
	public static final String EVALPATH_SMS = "sms";
	public static final String EVALPATH_CALL = "call";
	public static final String EVALPATH_SOFTWARE = "software";


	public static final String BANK_AUTH_CODE = "bank_auth_code";
	public static final String BANK_AUTH_PASSED = "bank_auth_passed";
	public static final String BANK_AUTH_LIMITED = "auth_limited";

	/**
	 * 额度、借款状态综合判断
	 */
	/**
	 * 直批且额度大于20W，均未申请
	 */
	public final static int COMPLEX_STATUS_DIRECT_HIGH_BOTH = 1000;
	/**
	 * 直批且额度大于20W，线上已通过，线下已预约
	 */
	public final static int COMPLEX_STATUS_DIRECT_HIGH_OUTLET_APPOINTED = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 1;
	/**
	 * 直批且额度大于20W，线上已通过，线下无额度
	 */
	public final static int COMPLEX_STATUS_DIRECT_HIGH_OUTLET_NONE = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 2;
	/**
	 * 直批且额度大于20W，线上未申请，线下已预约
	 */
	public final static int COMPLEX_STATUS_DIRECT_HIGH_OUTLET_ONLY = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 3;
	/**
	 * 直批且额度小于20W，未申请
	 */
	public final static int COMPLEX_STATUS_DIRECT_LOW = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 4;
	/**
	 * 直批且额度小于20W，借款申请已通过
	 */
	public final static int COMPLEX_STATUS_DIRECT_LOW_PASSED = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 5;
	/**
	 * 非直批，未预约
	 */
	public final static int COMPLEX_STATUS_NOT_DIRECT = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 6;
	/**
	 * 非直批，已预约
	 */
	public final static int COMPLEX_STATUS_NOT_DIRECT_APPOINTED = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 7;
	/**
	 * 非直批，借款申请已通过
	 */
	public final static int COMPLEX_STATUS_NOT_DIRECT_PASSED = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 8;
	/**
	 * 已有存量借款
	 */
	public final static int COMPLEX_STATUS_HAS_LOAN = COMPLEX_STATUS_DIRECT_HIGH_BOTH + 9;

	/**
	 * 借款类型 20: 线上
	 */
	public final static String LOAN_ONLINE = "20";
	/**
	 * 借款类型 10: 线下
	 */
	public final static String LOAN_OUTLET = "10";

	/**
	 * 提额类型 保单 1
	 */
	public final static String INCREASE_LIMIT_TYPE_POLICY = "1";
	/**
	 * 提额类型 公积金 2
	 */
	public final static String INCREASE_LIMIT_TYPE_RESERVE = "2";
	/**
	 * 提额类型 社保 3
	 */
	public final static String INCREASE_LIMIT_TYPE_SOCIAL_INSURANCE = "3";
	/**
	 * 保单类型  平安寿险 101
	 */
	public final static String POLICY_TYPE_PING_AN = "101";
}
